home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 331_01 / keys.doc < prev    next >
Text File  |  1990-06-12  |  23KB  |  463 lines

  1. .ce
  2.                            SE - Stack Editor
  3.  
  4.  
  5. .nf
  6. .ce
  7.                          Summary of key usage
  8.  
  9.  
  10. ^A                 word left
  11. ^B                 reserved for unimplemented block marking operations
  12. ^C or PgDn         window down one page
  13. ^D or <left arrow> cursor left one character
  14. ^E or <up arrow>   cursor up one line
  15. ^F                 cursor right one word
  16. ^G or <Del>        delete character under cursor
  17. ^H or <Backspace>  delete character to left of cursor
  18. ^I or <Tab>        tab right
  19. ^J                 jump to line n or mark current line for next jump
  20. ^K                 block manipulations
  21.                        B   block moves
  22.                        Q   quit
  23.                            w=write file
  24.                            a=abandon edited file  (also F9)
  25.                        X   write file and exit to system (also F10)
  26.                        R   read and insert disc file
  27. ^L, F3, F4         repeat last find/alter
  28. ^N                 line break (<ret> is preferred)
  29. ^O                 pop a copy of last deleted line.
  30. ^P                 pop last deleted line
  31. ^Q                 'quick' options
  32.                        A    find and replace  (see also F6)
  33.                        F    find              (see also F6)
  34.                        K    editing context (tabs, files, etc.)
  35.                        P    reform paragraphs per dot commands
  36. ^R or <PgUp>       window up one page
  37. ^S or <left arrow> cursor left one character
  38. ^T                 delete word
  39. ^U or ^<left arrow>   cursor full left
  40.                       (moves window left if already full left)
  41. ^V or <ins>        character insert/overlay toggle (transitory)
  42. ^W                 window up one line
  43. ^X or <dn arrow>   cursor down one line
  44. ^Y                 delete from cursor to end of line (delete line if full left)
  45. ^Z                 window down one line
  46. ^[                 same as escape key
  47. ^-                 undo the last 100 changes on a line-by-line basis. (+, not
  48.                    ctrl+, becomes redo in this mode)
  49.  
  50. <home>             window to beginning of file
  51. <end>              window to end of file
  52. ^] or ^<right arrow>  cursor full right.  (moves window right if already
  53.                       full right)
  54. <esc>              cancel or abort command, nothing if no partial command.
  55.  
  56.  
  57. F1    help menu  (toggles)
  58. F2    Initiate string search or search and replace
  59. F3    repeat last search or search & replace backward (same as forward ^L)
  60. F4    repeat last search or search & replace forward (same as backward ^L)
  61. F5    unused
  62. F6    Center window on cursor  (horizontally and vertically)
  63. F7    option selection
  64. F8    directory display
  65. F9    exit without saving (same as ^KQ)
  66. F10   save the current file and exit (same as ^KX)
  67.  
  68.  
  69. .fi
  70. .rm 80
  71.  
  72.  
  73. The use of the carriage return is a little different than Wordstar.  First, it
  74. operates the same in the character insert and character overlay mode.  It is
  75. used to break lines into two lines. ^N will also do that, but ^N will eventually
  76. be used to push/delete the remainder of sentences spanning more than one line,
  77. so <ret> is the prime key for breaking lines.
  78.  
  79. When a line is broken the cursor normally ends up on the lower line, which is
  80. the latter portion of the original line.  An exception occurs when the cursor is
  81. initially in column 1, in which case it stays on the new blank line created by
  82. the line break, in preparation for the entry of new text.
  83.  
  84. ^Y deletes from the cursor to the end of the line rather than the entire line.
  85. Use ^U first (as needed) to move the cursor full left to delete the entire line.
  86.  
  87. Characters are inserted into the existing text in the default mode.  The <ins>
  88. and ^V keys are used to enter the overlay mode, where the character under
  89. the cursor is replaced by the new character.  The overlay mode is usually
  90. used for editing tables with a rigid format.  The simplest way to change
  91. one or two characters in existing text is to insert the new characters
  92. then delete the old, rather than entering the overlay mode first.  The
  93. word OVER appears in the header when in the character replace mode, and
  94. the mode is transitory.  Any cursor positioning command which moves the
  95. cursor more than 10 lines in a single step causes reversion to the insert
  96. mode.
  97.  
  98. Lines are concatenated by deleting any character to the right of the rightmost
  99. visible character with ^G or <del>.  That is the only way of concatenating
  100. lines.  The program has free cursor movement, so the right arrow and ^] can be
  101. used to move the cursor beyond the visible end of the line.  Line concatenation
  102. works the same way there, except the point of concatenation is the cursor
  103. position rather than the last visible character.  If the last character of the
  104. line is on the screen then the ^] command will move the cursor to just beyond
  105. it.
  106.  
  107. The ^O (pop a copy) and ^P (pop) stack operations pop the lines pushed with ^Y.
  108. The cursor must be in column 1 for a push to occur.  The stack will hold 100
  109. lines.  This version contains a preliminary version of the stack operations and
  110. there are some restrictions, which are given in the read.me file.  The functions
  111. will be refined and expanded in a future release.
  112.  
  113. The default file extensions are .c and .doc.  The extension for the input file
  114. need not be specified if it is one of these.
  115.  
  116. The <esc> key will cancel all prompted ^K and ^Q queries.  It will also abort a
  117. string search or search and replace operation.  It can also be used to
  118. exit the help mode.  The escape key has no effect if there is nothing
  119. to abort.
  120.  
  121. The program will rarely automatically scroll horizontally with the default
  122. options.  That is sometimes an inconvenience when editing documents with short
  123. lines, but is essential when editing material with lines mostly longer than 80
  124. columns.  Use ^] and ^U repetitively to move the cursor horizontally in large
  125. chunks.  F6 is often more convenient.
  126.  
  127. The program takes 0x0D as the input file end of line marker.  The 0x0A is
  128. ignored, although normally there.  The output file is always the standard 0D 0A.
  129.  
  130. There is a DOS ambiguity in the way the end of file character appears in the
  131. file.  The trailing characters in the last line can be either "text" 0D 0A 1A or
  132. "text 1A".  Most programs don't care which way it is, but the selection is
  133. controllable.  If the <end> key carries the cursor to a line containing visible
  134. characters then that line is terminated by ^Z but not by a carriage return and
  135. line feed.  The selection is controllable by the normal editing commands.
  136.  
  137. The primary file is never altered by the program.  A copy is first produced,
  138. then the primary file is renamed to the .bak extension and the copy renamed to
  139. the original name.
  140.  
  141. When using a fixed disc system it is usually preferable to exit after saving the
  142. text file.  With floppies the process of reloading the program can be tedious
  143. enough that an easy way of saving or abandoning a file and staying resident is
  144. better.  The commands are optimized for a fixed disc system, but it is possible
  145. to stay resident.  If a file is to be abandoned, type in a garbage character
  146. before entering F9 or ^KQ.  The ensuing prompted inputs will allow you to
  147. discard the text in memory and stay resident.  Similarly, also enter F9 or ^KQ,
  148. which are normally used to abandon a file, when you really want to save it and
  149. stay resident.  The program will not exit on one keystroke if changes have been
  150. made to the file.  It will otherwise.
  151.  
  152. The program line limit in large systems is 16384 lines.  In smaller systems the
  153. maximum number of lines is roughly the number of bytes of allocatable memory
  154. divided by 4.  The lines of text are kept in a temporary disc file when they
  155. can't be stored in RAM, but each line on disc still requires 4 bytes in RAM.  Up
  156. to 500 kb of RAM will be used for text storage if available, with a 5-10 percent
  157. overhead for line pointers.
  158.  
  159. A second limit is the virtual memory size limitation of 1500 2048-byte pages, or
  160. 3 megabytes.  The pages are kept preferentially in RAM, with the most recently
  161. accessed pages being there to minimize acc